package JavaSe;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}9:08
 */
public class Syn {
    private static Object o = new Object();

    public static void main(String[] args) {
        synchronized (o){
            System.out.println("Hello");
        }
    }

    public synchronized void m(){

    }

    public static synchronized void n(){

    }
}
